package com.ruyuan.eshop.common.client.payment.impl;

import com.ruyuan.eshop.common.client.payment.PaymentClient;
import com.ruyuan.eshop.common.model.payment.dos.PaymentMethodDO;
import com.ruyuan.eshop.common.model.payment.dto.PayParam;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 支付中心client实现
 *
 * @author pwd
 * @version 1.0
 */
@Service
public class PaymentClientImpl implements PaymentClient {

    @Override
    public Map pay(PayParam param) {
        param.setAttach(param.getIntranet() + "@" + param.getUsername());
        return null;
    }

    @Override
    public String queryBill(String subSn,String serviceType) {

        return null;
    }

    @Override
    public PaymentMethodDO getByPluginId(String pluginId) {
        return null;
    }
}
